//    Copyright (C) Kherty.  All rights reserved.
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;

namespace OpenLS.Chart.UI
{
    partial class EnumResources
    
    {
        public EnumResources()
        {
            InitializeComponent();
        }
        static readonly EnumResources _singleton = new EnumResources();
        public static Style EnumListBoxStyle
        {
            get
            {
                return (Style)_singleton["EnumListBoxStyle"];
            }
        }
        public static Style EnumComboBoxStyle
        {
            get
            {
                return (Style)_singleton["EnumComboBoxStyle"];
            }
        }
        private void ListBoxItemPreviewMouseDown(object sender, MouseButtonEventArgs e)
        {
            ListBoxItem it = (ListBoxItem)sender;
            it.IsSelected = true;
            e.Handled = true;

        }
        private void ComboBoxItemPreviewMouseDown(object sender, MouseButtonEventArgs e)
        {
            return;
            ComboBoxItem it = (ComboBoxItem)sender;
            it.IsSelected = true;
            e.Handled = true;

        }
    }
}
